import {createRouter, createWebHistory} from 'vue-router'

const routes = [
    {
        path:"/",
        component:()=> import('../MainViews/ChatPage.vue')
    },
    {
        //外嵌页
        path:"/chat",
        component:()=> import('../MainViews/ChatPage.vue')
    },
    {
        path:"/chat_setting",
        component:()=> import('../MainViews/ChatSettingPage.vue')
    },
    {
        path:"/chat_sum",
        component:()=> import('../MainViews/ChatSummaryPage.vue')
    },

    {
        path:"/chat_ana",
        component:()=> import('../MainViews/ChatAnaPage.vue')
    },
    {
        path:"/feedback",
        component:()=> import('../MainViews/FeedbackPage.vue')
    },
    {
        path:"/receiveFeedback",
        component:()=> import('../MainViews/ReceiveFeedbackPage.vue')
    },
    {
        path:"/test",
        component:()=> import('../TestViews/TestChartsPie.vue')
    },




]

const router = createRouter({
    history:createWebHistory(),
    routes
})

export default router
